//
//  RewardMoneyCell.m
//  leyitui
//
//  Created by 王大江 on 17/9/25.
//  Copyright © 2017年 xinleyi. All rights reserved.
//

#import "RewardMoneyCell.h"
#import "ArticleModel.h"
#import "UIImageView+WebCache.h"

@interface RewardMoneyCell()

@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *auhorLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;




@end

@implementation RewardMoneyCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

-(void)setArticleModel:(ArticleModel *)articleModel {
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:articleModel.img]];
    self.titleLabel.text = articleModel.title;
    self.auhorLabel.text = articleModel.author;
    
    
    
}



@end
